login by user's name, complete test