Trying to capture response from login server without redirection