Fixed concurrency problems on task execution and added password reset