Repaired loop if referrer is equal to current

If in any case when applying below code to redirect on successful login 

```php
 $this->redirect($this->referer($this->Auth->loginRedirect));
```
if first attemp fails, the referrer is equal to login page, thus, ends up in a redirect loop at login page.