Added the authentication unit tests