redirects for admin login now takes admin URL into account
added production environment env and config for no error display
Merge branch 'develop'