This function accepts an array $params, which controls some parts of the authentication. The accepted parameters
depends on the authentication source being used. Some parameters are generic:
- 'ErrorURL': A URL that should receive errors from the authentication.
- 'KeepPost': If the current request is a POST request, keep the POST data until after the authentication.
- 'ReturnTo': The URL the user should be returned to after authentication.
- 'ReturnCallback': The function we should call after the user has finished authentication.
Please note: this function never returns.