More user login error handling & logging fixes