Crude login stuff. Credentials are no longer stored in app config.