Login was redirecting to the wrong url