bug fixes - working correctly for basic authenticated lock requests from Android.