Added tests and code for login auth data singleton.