added redirect to force https for admin page with basic auth