Test login functionality.

With these tests, we ensure that the user must be logged in before
they can edit their profile and that the user is automatically logged
in when their account is created.
Keeping up in class. Didn't know I was on master.
Merge branch 'gmaster' into dev