added support for password protected authentication keys