Added support for old_password authentication method