added workaround for app register
added workaround for app register

fixes issue #48

mhtranbn/owncloud,hypery2k/owncloud,mhtranbn/owncloud,mhtranbn/owncloud,lahmizzar/owncloud,hypery2k/owncloud,lahmizzar/owncloud,hypery2k/owncloud,lahmizzar/owncloud,hypery2k/owncloud,hypery2k/owncloud,lahmizzar/owncloud,Fmstrat/owncloud,lahmizzar/owncloud,Fmstrat/owncloud,amirshaikh49/owncloud,mhtranbn/owncloud,Fmstrat/owncloud,amirshaikh49/owncloud,amirshaikh49/owncloud,mhtranbn/owncloud,amirshaikh49/owncloud,mhtranbn/owncloud,lahmizzar/owncloud,Fmstrat/owncloud,Fmstrat/owncloud,hypery2k/owncloud,amirshaikh49/owncloud,Fmstrat/owncloud,amirshaikh49/owncloud