fix returned authentication status upon login