Support for cas loginUrl parameters

This should resolve issue #2