SignOut should remove used DB from ThreadLocal.

Absence of this leads to unpredictable errors like broken tests:
TestSecurity in Travis was before testing of prototypes and last test
started to fail.