decrypt returned login credentials
apply the decrypted credentials to the current document