Upgrade Via Console

Im trying to Upgrade the store via Console as in the documentation


after entering the command

php admin.php --dispatch=upgrade_center.console

I get a message of the following type

[Access denied] You must log in before you can access this resource!
Any idea how to log in ?

Looks like you skipped the upgrade command. Please try