actually use allowed_hosts config value
test allowed_hosts functionality
Merge pull request #5 from aaannz/auth_ip_config

actually use allowed_hosts config value