Fixed an issue preventing users to log in