Adding fix for login.