Added new unit test + AuthenticationException