Strips the base off the generated URL from the AuthComponent.

Fixes #3922.
Merge pull request #1451 from Phally/master-3922

Strips the base off the generated URL from the AuthComponent.