Fix login redirection for proxy websites

Signed-off-by: Stuart Olivera <stuart@stuartolivera.com>