How to hard code to login as admin?
You have the possibility to edit the current password locally.

You should take a look at Resetting the administrator password with sql-query. It is possible with some commands and SQL queries to change the current password for your admin user (UID=1).