renamed remoteauth class
refactored auditing implementation
Fixed failing test