Update AuthakeComponent.php

first attempt at fixing broken previousURL functions