Fixed authorized_keys entries being created for the wrong user (thanks egraaf)