Added support for password based credentials of users. All tests from AdapterTest actually passing