Added unit tests for TRQ-2135. Invalid Credential error.