Cannot authorize user. No token in URL and required data not available in local storage