Added https option for password reset (closes #385)