Implemented SetUserNameContext in SqlFactory

The SetUserNameContext stored procedure had not been implemented as part
of Code First and so the user name was not being captured during
auditing.