Fixes #1 Redirect not working after changing login