Adds support for logging in to CAS in CAS Connector case.

With a connector special attention needs to be made to the form action
so that CAS can effect the final redirect.