Allow setting custom authentication
Don't use duplicate constant name for media