tests for login-controller