Critical update to authorization. Check if user password is null