Removed unused credentials and remote_address columns from authorization code table.

Also, fixed so that session_id is populated in authorization code table.