Added acceptance tests for the login process.
Implemented more tests dealing with authentication.