Remove need for profile to be secure when running on localhost