fix the support for otpauth url in the selfservice

Change-Id: Id9632b49e83a74a5d3eb7a46e5d18f1ee73ccd6d