MT#3927 custom auth
wip