Fix test of Oauth controller

- If custom routes uses database it failed that resetting routes can workaround.
- Auth->loginAction could not be overridden when Auth component was configured at some callback such as beforeFilter.