stopping login redirects. might fix 404s and errors