test of basicAuthentication and fit login function.