Access hidden account from login screen
Do you have auto-login enabled for this user? If so you can probably reboot and get back in.

If you see the 'Other' user at the Login Window you can use that, too.

If all else fails you try ssh'ing in from another system (ssh user@computer.local) or booting up in single user mode (Command-S on startup).