Fix inability to login