Fixes a bug where password is not recognized as a proper method