allows password access when using api, thanks Antti Kervinen