Auto-login fixed

Note that it's still for dummy-data, non database driven as of now.