user: unlock authorized_keys file before closing it

Not strictely necessary, but let's do it.