Fix login forms/redirects