First crack at not having to log in if you're running in embedded mode.