Logging a user in before testing secured methods