Made username/password configurable and fixed bug with creation of nonexisting redirections