Add test to authenticate user if password is set to nil.