Command: drush uli
Output: http://default/user/reset/uid/..../...hash.../login
The output URL normally logs you in automatically, but it gets takes to access denied error instead.
Command: drush uli
Output: http://default/user/reset/uid/..../...hash.../login
The output URL normally logs you in automatically, but it gets takes to access denied error instead.
To Fix It
If you are not able to login to your admin account because your one-time login link does not work. And you have access to use Drush.
If you don't have access to use Drush
$ drush uli -l http://example.com
next time.