Fix application controller
Set basic auth to envirenv variables.