Sign in user after masquerade

Addresses issue #10.