We prepare the file to be able to include specs that do not need to have a logged-in user. We also took the opportunity to not execute this line in some specs where it was not necessary.