Catch exceptions that has to with encryption.
Added a Swedish log in page.