The default session lifetime is 20 minutes. Check this option to set it to 1 year. To set your own value, go to the settings.
Password recovery via email is impossible for users with LDAP/SSO login. Contact your administrator in case of password loss.