Added support for an custom login URL.