SHA auth working

Implemented SHA auth