add karma test for auth controller