Adding integration tests for the login controller