Changed login to allow programmer any hash method supported by PHP set via config.