fix login state redirect and asset_url to work with s3 assets