fix error with logging in as unknown user