Made the login goto parameter work correctly.