Fixes broken user login routes.